[mv]


definition="drive"


numbervars=0


minvars=0


help="This is a name substitution for the drive command - all variables are passed on"





[ct]


definition="count"


numbervars=0


minvars=0


help="This is a name substitution for the count command"








[showlat]


definition="comment "a=@(alat)       b=@(blat)      c=@(clat)<CR_LF>alpha=@(alpha)  beta=@(beta)  gamma=@(gamma)""


numbervars=0


minvars=0


help="This gives information about the lattice constants"





[setpos]


definition="zero %1 @(%1.zero)+@(%1)-%2"


numbervars=2


minvars=2


help="The setpos alias sets the zero of the specified motor so that the current position reads the specified value. Syntax: setpos motor_name value"





[monoinfo]


definition="motorinfo m1; motorinfo m2; motorinfo m3; motorinfo m4"


numbervars=0


minvars=0


help="Displays information for all the monochromator motors"





[scanpars]


definition="comment "   Center of Mass = @(com)+/-@(com_error)<CR_LF>   Full Width     = @(fwhm)+/-@(fwhm_error)<CR_LF>   Sum of Counts  = @(sum)+/-@(sum_error)" title="Parameters of last scan""


numbervars=0


minvars=0


help="Displays parameters of last scan"





[com]


definition="drive %1 @(com)"


numbervars=1


minvars=1


help="drive the specified motor to the center of mass for the last scan"





[spos]


definition="method %1 set_motor_position d %2+@(%1.zero)"


numbervars=2


minvars=2


help="Sets the current position"





[center]


definition="scan %1 @(%1)-1 @(%1)+1 .1 ; drive %1 @(com)"


numbervars=1


minvars=1


help="This scans a specified motor by +/-1 in steps of 0.1 and then moves to the center of mass"





[centre]


definition="scan %1 @(%1)-1 @(%1)+1 .1 ; drive %1 @(com)"


numbervars=1


minvars=1


help="This scans a specified motor by +/-1 in steps of 0.1 and then moves to the center of mass"





[driverel]


definition="drive %1 @(%1)+%2"


numbervars=2


minvars=2


help="Do a relative drive"





[scanrel]


definition="scan %1 @(%1)+%2 @(%1)+%3 %4; drive %1 @(%1)-%3"


numbervars=4


minvars=4


help="Do a relative scan using the default preset.  Eg. scanrel s1 -1 1 .1"





[br]


definition="drive h %1 k %2 l %3 e 0"


numbervars=3


minvars=3


help="Drive to a Bragg position.  Eg. br 1 1 1"





[th2th]


definition="scan s2 @(s2)+%1 @(s2)+%2 %3 s1 @(s1)+(%1/2) @(s1)+(%2/2) %3/2"


numbervars=3


minvars=3


help="Do a relative theta-2theta scan.  Eg. th2th -1 1 .1"





[mcu]


definition="logfileoutput off; method mcu set_scale_factor d %1; logfileoutput on; comment "The monitor count unit was set to @(methodreal0)" title "Setting the monitor count unit""


numbervars=1


minvars=1


help="Set the monitor count unit.  Eg. mcu 100000"





[init]


definition=initialize


numbervars=0


minvars=0


help="Initialize hardware and software"





[set_temp]


definition="method temp set_setpoint d %1"


numbervars=1


minvars=1


help="Set the temperature setpoint"


